package com.sservice.commonBusiness.mapper;

import com.sservice.commonBusiness.e.File;
import com.sservice.commonBusiness.vo.FileVo;

import java.util.List;

public interface FileMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(File record);

    int insertSelective(File record);

    File selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(File record);
    int updateByTypeSelective(File record);

    int updateByPrimaryKey(File record);

    List<FileVo> queryByPage(FileVo record);
    List<FileVo> queryByPage1(FileVo record);


    List<FileVo> queryDrByPage(FileVo record);
    int count(FileVo record);

    int countqueryDrByPage(FileVo record);

    /**
     * 获取
     *
     * @param record
     * @return
     */
    List<File> selectByUrls(List<String> record);
}